import { getData } from '@/servers/http'

// 【接口】banner列表
export const getBanner = (data: any) => getData<any, any>(`/o/v1/banner`, data)

// 【接口】培训报名列表
export const getEnroll = (data: any) => getData<any, any>(`/o/v1/company-enroll`, data)

/**  获取选择平台接口  */
export const getPlatformList = () => getData<any, any>(`/o/v1/systems/website`, { type: 2 })
// 【接口】优秀讲师列表
export const getTeachers = (data: any) => getData<any, any>(`/o/v1/qz-portal/fine-teacher`, data)

// 【接口】优秀学员列表
export const getStudents = (data: any) => getData<any, any>(`/o/v1/qz-portal/fine-student`, data)

// 【接口】职位专区列表
export const getHome = () => getData<any, any>(`/o/v1/qz-portal/platform-homepage-list`)

// 【接口】求职测评列表
export const getEval = () => getData<any, any>(`/o/v1/qz-portal/test-eval`)

export const getSiteInfo = () => getData<any, any>(`/o/v1/systems/info`)
export const getSign = (data: any) => getData<any, any>(`/oauth/qz-mini-program-urllink`, data)
